<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body background="pic/ManBgroud.gif">
	<div>
		<form action="EditOnlyNews" method="post"> <!-- enctype="multipart/form-data" -->
			<c:if test="${not empty requestScope.news }">
				<input type="hidden" name="n_id" value="${news.n_id }"/>
				<input type="hidden" name="b_id" value="${news.board.b_id }"/>
				新闻标题：<input type="text" name="n_title" value="${news.n_title }"/><br/>
				新闻图片：<input type="file" name="n_picture" value="${news.n_picture }"/><br/>
				新闻内容：<textarea name="n_context">${news.n_context }</textarea><br/>
				所属板块：<input type="text" name="b_name" value="${news.board.b_name }"/><br/>
				<input type="submit" value="提交"/>
			</c:if>
		</form>
	
	
	</div>
	

</body>
</html>